package com.fire.security.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 此User类只封装了用户的用户id、用户名和真实姓名
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class CurrentUser {

    private String id;//用户id

    private String name;//用户名

    private String password;//真实姓名


    public CurrentUser(String id, String name){
        this.id = id;
        this.name = name;
    }
}
